using Microsoft.Extensions.Configuration;
using MiniFox.Components;
using MiniFox.Components.Configurations;
using MiniFox.Configurations;
using MiniFox.Net;
using MiniFox.Net.Configurations;
using System.Diagnostics;

namespace WinForWebApi
{
    internal static class Program
    {
        /// <summary>
        ///  The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            ConfigurationFactory.Initialize();
            ComponentFactory.Initialize(ConfigurationFactory.GetConfig<ComponentContainerConfiguration>());

            // To customize application configuration such as set high DPI settings or default font,
            // see https://aka.ms/applicationconfiguration.
            ApplicationConfiguration.Initialize();

            Application.Run(new frmMain());
        }
    }
}